import requests
import json_test

url = "https://api.bochaai.com/v1/web-search"

payload = json.dumps({
    "query": "天空为什么是蓝色的？",
    "count": 8
})

headers = {

    'Authorization': 'Bearer sk-1d36592913e94b8db053f0bb7131b57f',

    'Content-Type': 'application/json'

}
response = requests.request("POST", url, headers=headers, data=payload)

print(response.json())
